# This is a comment
# First line must contains the following data:
# Pin[dBm]
-20

# Here you define the component chain to be analyzed:
# Spaces in Name are not allowed
# Name  Gain[dB]  NF[dB]   IIP3[dBm] P1dB[dBm] Psat[dBm]
HJK-19MH   -7.5     7.5     29         16
PreAmp     16       2       17.5       13.2

# Output you'll get:

# Input chain:
#      Stage  Gain[dB] NF[dB] IIP3[dBm] P1dB[dBm] Psat[dBm]
#   HJK-19MH     -7.50   7.50     29.00     16.00
#     PreAmp     16.00   2.00     17.50     13.20


# Result of calculation (by stage):
#      Stage  Pin[dBm] Gain[dB] NF[dB] IIP3[dBm] Pout[dBm]
#   HJK-19MH    -20.00    -7.50   7.50     29.00    -27.50
#     PreAmp    -27.50     8.50   9.50     23.54    -11.50


# Result of calculation (system):
#  Pin[dBm] = -20.00   IM3[dBc] = -87.09     NF[dB] =   9.50
#  Gain[dB] =   8.50  IIM3[dBm] = -107.09
# Pout[dBm] = -11.50  OIM3[dBm] = -98.59
#                     IIP3[dBm] =  23.54
#                     OIP3[dBm] =  32.04
